package com.xin.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 教学业绩
 * </p>
 *
 * @author l1
 * @since 2017-10-24
 */
@TableName("u_teaching_performance")
public class UTeachingPerformance extends Model<UTeachingPerformance> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 教师编号
     */
	@TableField("teacher_id")
	private String teacherId;
    /**
     * 学年
     */
	private String cycle;
    /**
     * 理论课
     */
	@TableField("theory_lession")
	private Float theoryLession;
    /**
     * 实验教学
     */
	@TableField("lab_lession")
	private Float labLession;
    /**
     * 课程设计实训
     */
	@TableField("design_lession")
	private Float designLession;
    /**
     * 实习
     */
	private Float practice;
    /**
     * 毕业设计
     */
	@TableField("graduation_project")
	private Float graduationProject;
	private Float shijian;
    /**
     * 总计
     */
	private Float total;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(String teacherId) {
		this.teacherId = teacherId;
	}

	public String getCycle() {
		return cycle;
	}

	public void setCycle(String cycle) {
		this.cycle = cycle;
	}

	public Float getTheoryLession() {
		return theoryLession;
	}

	public void setTheoryLession(Float theoryLession) {
		this.theoryLession = theoryLession;
	}

	public Float getLabLession() {
		return labLession;
	}

	public void setLabLession(Float labLession) {
		this.labLession = labLession;
	}

	public Float getDesignLession() {
		return designLession;
	}

	public void setDesignLession(Float designLession) {
		this.designLession = designLession;
	}

	public Float getPractice() {
		return practice;
	}

	public void setPractice(Float practice) {
		this.practice = practice;
	}

	public Float getGraduationProject() {
		return graduationProject;
	}

	public void setGraduationProject(Float graduationProject) {
		this.graduationProject = graduationProject;
	}

	public Float getShijian() {
		return shijian;
	}

	public void setShijian(Float shijian) {
		this.shijian = shijian;
	}

	public Float getTotal() {
		return total;
	}

	public void setTotal(Float total) {
		this.total = total;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "UTeachingPerformance{" +
			"id=" + id +
			", teacherId=" + teacherId +
			", cycle=" + cycle +
			", theoryLession=" + theoryLession +
			", labLession=" + labLession +
			", designLession=" + designLession +
			", practice=" + practice +
			", graduationProject=" + graduationProject +
			", shijian=" + shijian +
			", total=" + total +
			"}";
	}
}
